package org.onepiece.admin.component.kafka;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zhujianke@gaodun.com
 * @since 2022/9/4 18:19
 */
@Component
public class KafkaComponent extends AbstractKafkaComponent{

    public KafkaComponent(@Qualifier("kafkaTemplate") KafkaTemplate<String, String> biKafkaTemplate) {
        super.kafkaTemplate = biKafkaTemplate;
    }
}
